package Arrays2;

import java.util.Arrays;

//                                    二维数组
public class Test1 {
    public static void main(String[] args) {
        //二维数组的创建
        //1.
        int[][] arr1 = new int[3][4];
        //2.
        int[][] arr2 = {{1,2,3,4},{2,3,4,5},{3,4}};
        System.out.println(arr2[0].length);
        System.out.println(arr2[1].length);
        System.out.println(arr2[2].length);
        }
    }
